package com.jxud;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

import java.io.File;

//@MapperScan("com.jxud.mapper")
@ServletComponentScan
@SpringBootApplication
public class SlyOrderManagementApplication {
    static {
        // 强制创建日志目录
        new File("./logs").mkdirs();
    }

    public static void main(String[] args) {
        SpringApplication.run(SlyOrderManagementApplication.class, args);
    }

}
